package org.fastsyncer.common.constant;

public class MappingConstant {
	
	/**
	 * Mapping数据迁移模式
	 */
	public static final String SYNC_ALL = "all";
	
	/**
	 * Mapping数据同步模式
	 */
	public static final String SYNC_INCREMENT = "increment";
	
	/**
	 * 高级配置：增量策略
	 */
	public static final String POLICY_INCREMENT = "increment";
	
    /**
     * 高级配置：转换策略
     */
    public static final String POLICY_CONVERT = "convert";
    
    /**
     * 高级配置：转换策略>class实现
     */
    public static final String POLICY_CONVERT_CLASSNAME = "className";
    
    /**
     * 高级配置：增量策略>定时模式
     */
    public static final String POLICY_INCREMENT_MODEL_QUARTZ = "quartz";
    
    /**
     * 高级配置：增量策略>日志模式
     */
    public static final String POLICY_INCREMENT_MODEL_LOG = "log";
    
	/**
	 * 高级配置：增量策略_MYSQL
	 */
	public static final String POLICY_INCREMENT_MYSQL = "mysql";
	
	/**
	 * 高级配置：增量策略_ORACLE
	 */
	public static final String POLICY_INCREMENT_ORACLE = "oracle";
	
    /**
     * 高级配置：增量策略_SQL_MYSQL
     */
    public static final String POLICY_INCREMENT_SQL_MYSQL = "sqlMysql";
    
    /**
     * 高级配置：增量策略_SQL_ORACLE
     */
    public static final String POLICY_INCREMENT_SQL_ORACLE = "sqlOracle";
	
	/**
	 * 高级配置：增量策略_LDAP
	 */
	public static final String POLICY_INCREMENT_LDAP = "ldap";
	
	/**
	 * 高级配置：增量策略_Webservice
	 */
	public static final String POLICY_INCREMENT_WS = "ws";
	
	/**
	 * Mapping存储类型_同步配置MAPPING文件后缀
	 */
	public static final String STORE_MAPPING_SUFFIX = ".config";
	
	/**
	 * Mapping存储类型_同步结果LOG文件后缀
	 */
	public static final String STORE_LOG_SUFFIX = ".txt";
	
    /**
     * Mapping存储类型_同步结果META文件后缀
     */
    public static final String STORE_META_SUFFIX = ".meta";
	
}
